package model

import (
	"gorm.io/gorm"
)

type SysObj struct {
	gorm.Model
	Key           string     `json:"key" form:"key" gorm:"column:key;comment:key;type:varchar(50);size:50"`
	Value         string     `json:"value" form:"value" gorm:"column:value;comment:value;key;type:varchar(256);size:256;"`
	ValueList     []string    `json:"valueList" form:"valueList" gorm:"column:valueList;comment:valueList;key;type:varchar(256);size:256;"`
	Description   string     `json:"description" form:"description" gorm:"column:description;comment:描述;type:varchar(64);size:64;"`
}



func (SysObj) TableName() string {
	return "sys_obj"
}
